home *** CD-ROM | disk | FTP | other *** search
/ The Guided Tour of Multimedia (Second Edition) / The Guided Tour of Multimedia (Second Edition).iso / trials / qtw111 / samples / eachpicd.frm < prev    next >
Text File  |  1993-01-13  |  2KB  |  96 lines

  1. VERSION 2.00
  2. Begin Form frmEachPicDir 
  3.    Caption         =   "Play Each Picture"
  4.    Height          =   3555
  5.    Left            =   1425
  6.    LinkTopic       =   "Form1"
  7.    MaxButton       =   0   'False
  8.    MinButton       =   0   'False
  9.    ScaleHeight     =   3150
  10.    ScaleWidth      =   4275
  11.    Top             =   1140
  12.    Visible         =   0   'False
  13.    Width           =   4395
  14.    Begin DriveListBox drvPicture 
  15.       Height          =   315
  16.       Left            =   120
  17.       TabIndex        =   6
  18.       Top             =   2700
  19.       Width           =   2355
  20.    End
  21.    Begin DirListBox dirPicture 
  22.       Height          =   1605
  23.       Left            =   120
  24.       TabIndex        =   4
  25.       Top             =   720
  26.       Width           =   2355
  27.    End
  28.    Begin CommandButton cmdCancel 
  29.       Cancel          =   -1  'True
  30.       Caption         =   "Cancel"
  31.       Height          =   375
  32.       Left            =   2940
  33.       TabIndex        =   1
  34.       Top             =   600
  35.       Width           =   1215
  36.    End
  37.    Begin CommandButton cmdOK 
  38.       Caption         =   "OK"
  39.       Default         =   -1  'True
  40.       Height          =   375
  41.       Left            =   2940
  42.       TabIndex        =   0
  43.       Top             =   120
  44.       Width           =   1215
  45.    End
  46.    Begin TextBox txtDirPicture 
  47.       BorderStyle     =   0  'None
  48.       Height          =   225
  49.       Left            =   180
  50.       TabIndex        =   3
  51.       TabStop         =   0   'False
  52.       Top             =   420
  53.       Width           =   2715
  54.    End
  55.    Begin Label lblDrvPicture 
  56.       Caption         =   "Dri&ves"
  57.       Height          =   195
  58.       Left            =   180
  59.       TabIndex        =   5
  60.       Top             =   2460
  61.       Width           =   1035
  62.    End
  63.    Begin Label lblDirPicture 
  64.       Caption         =   "&Directories:"
  65.       Height          =   195
  66.       Left            =   180
  67.       TabIndex        =   2
  68.       Top             =   180
  69.       Width           =   1035
  70.    End
  71. End
  72. Option Explicit
  73.  
  74. Sub cmdCancel_Click ()
  75.     End
  76. End Sub
  77.  
  78. Sub cmdOK_Click ()
  79.     PicturePath = frmEachPicDir.txtDirPicture
  80.     ChDir PicturePath
  81.     Unload frmEachPicDir
  82. End Sub
  83.  
  84. Sub dirPicture_Change ()
  85.     txtDirPicture.Text = dirPicture.Path
  86. End Sub
  87.  
  88. Sub drvPicture_Change ()
  89.     dirPicture.Path = drvPicture.Drive
  90. End Sub
  91.  
  92. Sub Form_Load ()
  93.     txtDirPicture.Text = dirPicture.Path
  94. End Sub
  95.  
  96.